package com.seanchenxi.gwt.wordpress.xmlrpc.service.model.impl;

import java.util.HashMap;

import com.seanchenxi.gwt.wordpress.domain.model.CommentCount;
import com.seanchenxi.gwt.xmlrpc.client.model.impl.BaseModelImpl;

public class CommentCountImpl extends BaseModelImpl implements CommentCount {
	
	/**
	 * Generated id
	 */
	private static final long serialVersionUID = -9134357056630423680L;

	public CommentCountImpl() {
		super();
	}

	public CommentCountImpl(HashMap<String, Object> properties) {
		super(properties);
	}

	@Override
	public int getApproved() {
		return get("approved");
	}

	@Override
	public void setApproved(int approved) {
		set("approved", approved);
	}

	@Override
	public int getAwaitingModeration() {
		return get("awaiting_moderation");
	}

	@Override
	public void setAwaitingModeration(int awaiting_moderation) {
		set("awaiting_moderation", awaiting_moderation);
	}

	@Override
	public int getSpam() {
		return get("spam");
	}

	@Override
	public void setSpam(int spam) {
		set("spam", spam);
	}

	@Override
	public int getTotal() {
		return get("total_comments");
	}

	@Override
	public void setTotal(int total_comments) {
		set("total_comments", total_comments);
	}

}
